.tab-wrapper {
  position: fixed;
  bottom: 0;
  height: 56px;
  height: calc(constant(safe-area-inset-bottom) + 56px);
  height: calc(env(safe-area-inset-bottom) + 56px);
  left: 0;
  right: 0;
  background-color: $white;
  border-top: 0.5px solid #f2f2f2;
  z-index: 10000;
  .tab-inner {
    width: 100%;
    height: 56px;
    @include row;
    justify-content: space-around;
  }
  .tab-safe {
    width: 100%;
    height: 0;
    height: constant(safe-area-inset-bottom);
    height: env(safe-area-inset-bottom);
  }
  .tab {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    .tab-icon {
      width: 18px;
      height: 18px;
    }
    .tab-text {
      font-size: 12px;
      margin-top: 2px;
      color: $label;
      &.active {
        color: $theme;
      }
      &.border {
        border-bottom: 2px solid $theme;
      }
    }
  }
  .tab-button-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0 30px;
    .tab-button {
      font-size: 14px;
      line-height: 30px;
      padding: 0 30px;
      border: 1px solid $theme;
      color: $theme;
      border-radius: 5px;
      background-color: $white;
      &.active {
        color: $white;
        background-color: $theme;
      }
    }
  }
}
